package com.supreme.commonentity.mysql.primary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName sys_role_permit
 */
@Data
@TableName(value = "sys_role_permit")
public class SysRolePermit implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long rolePermitId;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 权限ID
     */
    private Long permitId;

    private Boolean enabled;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}